# coding:utf-8
"""
@author: jing
@contact: 529548204@qq.com
@file: urls.py
@time: 2022/5/24 16:56
"""
from django.conf.urls import include
from django.urls import path

from . import views

app_name = "urls"
urlpatterns = [
    path(r'', views.ModuleViews.as_view({
        "post": "new_module",
        "get": "module_list"
    })),
    path(r'<int:pk>/', views.ModuleViews.as_view({
        "put": "edit_module",
        "delete": "del_module"
    })),
]
